
#ifndef GISCOREAO_MOCK_H
#define GISCOREAO_MOCK_H

#include <stdint.h>
#include <string>
#include "app_platform/cntl_info.h"

#include "erp/gis/po/shiptypeareagischeckpo_gis.h"	
#include "erp/gis/po/mergedcoordinatespo_gis.h"	
#include <map>	
#include <vector>	
#include "intf_giscoreao.h"


namespace erp
{
namespace gis
{
namespace ao
{

	class CGisCoreAoMock : public IGisCoreAo{
	public:
	    virtual uint32_t CheckAreaCover(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				const erp::gis::po::CShipTypeAreaGisCheckPo& shipTypeAreaGisCheckPo,
				const std::string& inReserve,
				std::map<uint32_t,uint32_t >& CheckResult,
				std::string& errMsg,
				std::string& outReserve
	    	)
	    {
			CheckResult = m_CheckResult;
			errMsg = m_errMsg;
			outReserve = m_outReserve;
			return 0;
	    }		
	    virtual uint32_t GetMergeCoordinate(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				const std::string& destAddrProvince,
				const std::string& destAddrCity,
				const std::string& destAddrDistrict,
				const std::string& destAddrText,
				const std::string& inReserve,
				erp::gis::po::CMergedCoordinatesPo& mergedCoordinatesPo,
				std::string& errMsg,
				std::string& outReserve
	    	)
	    {
			mergedCoordinatesPo = m_mergedCoordinatesPo;
			errMsg = m_errMsg;
			outReserve = m_outReserve;
			return 0;
	    }		
	
   public:
			std::map<uint32_t,uint32_t > m_CheckResult;
			std::string m_errMsg;
			std::string m_outReserve;
			erp::gis::po::MergedCoordinatesPo m_mergedCoordinatesPo;
	};
	
}
}
}

#endif /* GISCOREAO_MOCK_H */

